package com.zhijian.medical.dao.local;


import com.zhijian.medical.entity.po.MonitorModule;
import com.zhijian.medical.entity.vo.request.MonitorModuleSearchVo;
import com.zhijian.medical.entity.vo.response.MonitorModuleVo;

import java.util.List;

public interface MonitorModuleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MonitorModule record);

    int insertSelective(MonitorModule record);

    MonitorModule selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MonitorModule record);

    int updateByPrimaryKey(MonitorModule record);

    int count(MonitorModuleSearchVo monitorModuleSearchVo);

    List<MonitorModuleVo> selectList(MonitorModuleSearchVo monitorModuleSearchVo);

    MonitorModuleVo selectVoById(Long id);

    /**
     * 找最大的序号
     * @return
     */
    Integer selectMaxSort();
}